package com.cxs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * @ClassName: Seat
 * @description:   座位表
 * @author: 诗涵
 * @create: 2024-01-07 08:17
 */
@TableName(value ="t_seat")
@Data
public class Seat implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 座位编号
     */
    private Integer seatNo;

    /**
     * 自习室id
     */
    private Integer classroomId;
}
